/* 重置默认样式 */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
}

i,
em {
    display: inline;
    font-style: normal;
}

ul {
    list-style: none;
}

/* 设置页面字体和背景颜色 */
body {
    font-family: HelveticaNeue, Arial, sans-serif;
}

/* 设置图片样式 */
img {
    max-width: 100%;
    height: auto;
}

header.footer {
    width: 100%;
    position: relative;
}

header {
    background-image: url(/static/images/bg.png);
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 13.32rem;
}

footer {
    background: #FF9E6B;
    /* height: 10.6rem; */
    overflow: hidden;
}

header h1 {
    position: absolute;
    top: 0.84rem;
    left: 50%;
    transform: translateX(-50%);
    width: 5.78rem;
    height: 1.38rem;
    font-family: BMDoHyeon, BMDoHyeon;
    /* font-weight: normal; */
    font-size: .58rem;
    color: #FF4421;
    line-height: .72rem;
    text-shadow: 0px .04rem 0px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-style: normal;
}

div.list {
    width: 5rem;
    height: .5rem;
    background: #7F654B;
    border-radius: 0.26rem;
    position: absolute;
    top: 2.44rem;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    overflow: hidden;
    /* border: 1px solid red; */
}

div.list ul {
    height: 100%;
    /* display: flex;
    flex-direction: column; */
    /*     width: 5.8rem;
    height: .5rem;
    position: absolute;
    top: 2.44rem;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    border: 1px solid red; */
}

div.list ul li {
    /* margin: 5px 0; */
    width: 5rem;
    height: 0.5rem;
    /* background: #7F654B; */
    /* border-radius: 0.26rem; */
    display: flex;
    align-items: center;
    justify-content: center;
}

div.list ul li span {
    font-size: 0.2rem;
    height: 100%;
    line-height: 0.5rem;
    color: #FFFFFF;
    text-align: center;
    font-style: normal;
    display: flex;
}

div.list ul li span:last-of-type {
    margin-left: .1rem;
    font-size: .22rem;
    font-style: italic;
}

div.list ul li span em {
    color: #FF3E3E;
    font-size: .26rem;
}

div.card {
    position: absolute;
    top: 3.54rem;
    width: 100%;
    font-size: .2rem;
}

div.card .p_h {
    width: 4.1rem;
    height: .62rem;
    line-height: .62rem;
    margin: 0 auto;
    font-size: .26rem;
    color: #A53521;
    text-align: center;
}

div.star {
    text-align: center;
}

div.card strong {
    font-size: .8rem;
    color: #F95738;
    font-family: HelveticaNeue, HelveticaNeue;
}

.star i {
    display: inline-block;
    width: .28rem;
    height: .28rem;
    background-image: url(/static/images/gold.png);
    background-size: .28rem .28rem;
}

div.card .p_h2 {
    margin-top: .58rem;
    text-align: center;
    font-size: .2rem;
    color: #fff;
    opacity: 0.9;
}

div.inviteCode {
    text-align: center;
    margin-top: .16rem;
}

div.inviteCode span {
    color: #FFE17C;
    font-size: .32rem;
    vertical-align: bottom;
}

div.inviteCode i {
    margin-left: .1rem;
    display: inline-block;
    width: .32rem;
    height: .32rem;
    background-image: url(/static/images/zu4.png);
    background-size: .32rem .32rem;
}

div.btn {
    margin: 0 auto;
    margin-top: .26rem;
    width: 100%;
    height: 1.34rem;
    text-align: center;
    position: relative;
}

div.btn img {
    width: 6.6rem;
    height: auto;
}

div.btn .finger {
    width: .92rem;
    height: .8rem;
    position: absolute;
    top: .4rem;
    right: 1.1rem;
    /* transition: all 1s; */
}


div.btn_c {
    margin: 0 auto;
    margin-top: .06rem;
    width: 100%;
    height: 1.16rem;
    text-align: center;
    position: relative;
}

div.btn_c img {
    width: 6.6rem;
}

.rewards {
    width: 6.9rem;
    height: 6.06rem;
    margin: 0 auto;
    margin-top: .16rem;
    background: linear-gradient(180deg, #FFD8AB 0%, #FFFAF1 100%);
    border-radius: .24rem;
    border: .02rem solid #FFFFFF;
}

.rewards p {
    text-align: center;
}

.rewards p .rewards_s {
    display: inline-block;
    width: 4.98rem;
    height: .68rem;
    background-image: url(/static/images/btbg.png);
    background-size: 4.98rem 0.68rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    line-height: .68rem;
    font-size: .28rem;
    color: #A53521;
    font-weight: bold;
}

.rewards p .rewards_s img {
    width: .16rem;
    height: .12rem;
}

.rewards p .rewards_s i:first-of-type {
    margin-right: .2rem;
}

.rewards p .rewards_s i:last-of-type {
    margin-left: .2rem;
}

.rewards .tip {
    margin-top: .44rem;
    display: flex;
    justify-content: space-around
}

.rewards .tip span {
    width: 1.98rem;
    height: 2.2rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rewards .tip span:nth-child(1) {
    background-image: url(/static/images/1@2x.png);
}

.rewards .tip span:nth-child(2) {
    background-image: url(/static/images/2@2x.png);
}

.rewards .tip span:nth-child(3) {
    background-image: url(/static/images/3@2x.png);
}

.rewards .tip span em {
    display: inline-block;
    width: 1.76rem;
    margin: .86rem .14rem .44rem .16rem;
    font-size: 0.24rem;
    color: #A53521;
    line-height: .3rem;
}

.rewardInfo {
    display: flex;
    margin: 0 auto;
    margin-top: .24rem;
    width: 6.42rem;
    height: 1.48rem;
    background: linear-gradient(180deg, #FFEFDF 0%, #FFF7F7 100%);
    border-radius: .16rem;
    border: .04rem solid #FFFFFF;
    align-items: center;
    justify-content: space-around;
}

.rewardInfo span {
    height: .88rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.rewardInfo span i:first-of-type {
    font-size: .4rem;
    color: #A53521;
    text-align: left;
}

.rewardInfo span i:last-of-type {
    font-size: .2rem;
    color: #926158;
}

.rewardDetail {
    margin-top: .4rem;
    text-align: center;
}

.rewardDetail span {
    color: #926158;
    font-size: .2rem;
}

.rewardDetail i {
    display: inline-block;
    width: .2rem;
    height: .2rem;
    background-image: url(/static/images/zu10.png);
    background-size: .2rem .2rem;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: bottom;
}

.task {
    box-sizing: border-box;
    margin: 0 auto;
    margin-top: 2.44rem;
    /* padding-left: .3rem; */
    width: 6.9rem;
    background: linear-gradient(180deg, #FFD8AB 0%, #FFFAF1 100%);
    border-radius: .24rem;
    border: .02rem solid #FFFFFF;
}

.task p {
    text-align: center;
    height: .72rem;
    display: flex;
    justify-content: center;
}

.task p .rewards_s {
    display: inline-block;
    width: 4.98rem;
    height: .68rem;
    background-image: url(/static/images/btbg.png);
    background-size: 4.98rem 0.68rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    line-height: .68rem;
    font-size: .28rem;
    color: #A53521;
    font-weight: bold;
}

.task p .rewards_s img {
    width: .16rem;
    height: .12rem;
}

.task p .rewards_s i:first-of-type {
    margin-right: .2rem;
}

.task p .rewards_s i:last-of-type {
    margin-left: .2rem;
}

.taskList {
    margin-top: .6rem;
    padding-left: .3rem;
}

.taskList li {
    display: flex;
    height: 1.04rem;
    margin-bottom: .5rem;
}

.taskList li img {
    width: .74rem;
    height: .74rem;
}

.taskList li p {
    font-size: .26rem;
    color: #A53521;
    font-weight: 500;
}

.taskList li span {
    font-size: .2rem;
    color: #926158;
}

.taskList li .taskList_i {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: .2rem;
}

div.list ul li {
    display: none;
    transition: opacity 0.5s ease-in-out;
}

div.list ul li.active {
    display: flex;
    opacity: 1;
}

.rule {
    text-align: center;
    margin-top: .3rem;
    font-size: .2rem;
    color: #fff;
    margin-top: .3rem;
    margin-bottom: .26rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.popup1,
.popup2 {
    position: fixed;
    top: 4.2rem;
    left: 50%;
    transform: translatex(-50%);
    z-index: 1000;
}

.popup_m {
    /* height: 4.4rem; */
    width: 6.5rem;
    box-sizing: border-box;
    padding: .38rem .26rem .34rem .28rem;
    background: #FFFFFF;
    border-radius: .24rem;
}

.popup_m h3 {
    font-size: .32rem;
    font-weight: 500;
    color: #333;
    text-align: center;
    margin-bottom: .3rem;
}

.popup_m p {
    font-size: .28rem;
    color: #333;
    line-height: .42rem;
    font-family: Helvetica;
}

.popup1 .popup_c {
    text-align: center;
    /* margin-top: .3rem; */
}

.popup1 .popup_c img {
    width: .6rem;
    height: .6rem;
}

.popup_m2 {
    /* height: 4.4rem; */
    width: 6.5rem;
    box-sizing: border-box;
    padding: .38rem .26rem .34rem .28rem;
    background: #FFFFFF;
    border-radius: .24rem;
}

.popup2 ul {
    max-height: 3.88rem;
    overflow-y: auto;
}

.popup2 ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: .5rem;
}

.popup2 ul li:last-of-type {
    margin-bottom: 0;
}


.popup2 ul li .reward_L p:first-of-type {
    font-size: .26rem;
    color: #666;
}

.popup2 ul li .reward_L p:last-of-type {
    font-size: .2rem;
    color: #999;
}

.popup2 ul li span {
    width: 1.2rem;
    font-size: .24rem;
    color: #8959FF;
    margin-top: .18rem;
}

.popup2 .popup_c2 {
    text-align: center;
    /* margin-top: .3rem; */
}

.popup2 .popup_c2 img {
    width: .6rem;
    height: .6rem;
}

.popup_m2 h3 {
    font-size: .32rem;
    font-weight: 500;
    color: #333;
    text-align: center;
    margin-bottom: .3rem;
}

.copied {
    width: 4.56rem;
    height: .6rem;
    border-radius: .3rem;
    background: #662418;
    font-size: .28rem;
    line-height: .6rem;
    text-align: center;
    font-size: .24rem;
    color: #FFFFFF;
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
}

.my_inviter {
    text-align: center;
    font-size: .24rem;
    color: #A53521;
    margin-top: .2rem;
    margin-bottom: .3rem;
}


#formInvite {
    padding: .4rem;
    box-sizing: border-box;
    margin: 0 auto;
    width: 6.5rem;
    height: 3.36rem;
    background-color: #fff;
    border-radius: .24rem;
    overflow: hidden;
}

.invitationCode {
    position: fixed;
    top: 4.58rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
}

#formInvite p {
    font-weight: 500;
    font-size: .32rem;
}

#formInvite .from_control {
    margin-top: .4rem;
    width: 5.74rem;
    height: .8rem;
    border: .02rem solid #DDDDDD;
    border-radius: .1rem;
}

#formInvite .from_on {
    margin-top: .5rem;
    display: flex;
    justify-content: space-around;
}

#formInvite .from_on span {
    font-size: .32rem;
    color: #666;
}

#formInvite .from_on span.from_ok {
    color: #F95738;
}

.inviteNow {
    position: absolute;
    font-size: .36rem;
    text-shadow: 0px .04rem .16rem #F72500, 0px .02rem .04rem rgba(255, 42, 4, 0.85);
    text-align: center;
    font-weight: 500;
    color: #fff;
    top: .36rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.enter_code {
    position: absolute;
    font-size: .36rem;
    text-align: center;
    font-weight: 500;
    color: #F95738;
    top: .36rem;
    left: 50%;
    transform: translateX(-50%);
}